package com.leador.map.location;

/**
 * 定位服务工厂
 */
public class LocationServiceFactory {

    private static ILocationService ILocationService = null;

    private LocationServiceFactory() {
        //
    }

    /**
     * 获取定位管理器实例
     *
     * @param
     * @return ILocationService
     */
    public static ILocationService getInstance() {
        synchronized(LocationServiceFactory.class) {
            if(ILocationService==null) {
                ILocationService = LocationService.getInstance();
            }
        }
        return ILocationService;
    }
}